import request from '@/utils/request'

// 组织架构
export function companyDepartment () {
  return request({
    url: '/company/department',
    method: 'get',
    needToken: true
  })
}
// 树形组织架构, 数据删除
export function companyDepartmentDel (id) {
  return request({
    url: '/company/department' + id,
    method: 'delete',
    needToken: true
  })
}
// 获取员工列表
export function sysUserSimple () {
  return request({
    url: '/sys/user/simple',
    needToken: true
  })
}
